//
//  KotnetLogout.h
//  KotnetAutologin
//
//  Created by Kristof Marien on 19/01/10.
//  Copyright 2010 KotnetAutologin. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "KeyChain.h"
#import "GetHTMLSource.h"


@interface KotnetLogout : NSObject {
	@private
	GetHTMLSource *source;
	@public
	id delegate;
	SEL cannotLogoutCallback;
	SEL loggedoutCallback;
}
@property(nonatomic, retain) id delegate;
@property(nonatomic) SEL cannotLogoutCallback;
@property(nonatomic) SEL loggedoutCallback;

- (void) logout:(id)logoutDelegate cannotLogoutSelector:(SEL)cannotLogoutSelector loggedoutSelector:(SEL)loggedoutSelector;
- (void)sourcePWDFieldReceived:(NSString *)data;
- (void)sourcePWDFieldNotReceived;
- (void)logoutSended:(NSString *)data;

@end
